/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.delivery.dao;

import com.mycompany.delivery.entities.Account;
import java.util.List;

/**
 *
 * @author mhunek
 */
public interface AccountDAO {

    public Account getByLogin(String login);

    public Account create(Account account);

    public List<Account> getAllContacts();

    public Account getAccountById(Long id);

    public void deleteAccount(Account account);

    public void updateAccount(Account account);
}
